﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.SMS.Adapter.Interface
{
    public interface ISMSAdapter : IDisposable
    {
        /// <summary>
        /// </summary>
        /// <param name="conStr">conStr may implementation in the implement of this interface</param>
        /// <returns>the return string should be null,if no error,otherwise,return error msg</returns>
        string Init(string conStr);
        /// <summary>
        /// </summary>
        /// <param name="mobile">mobile code list</param>
        /// <param name="content">sms content</param>
        /// <returns>the return string should be null,if no error,otherwise,return error msg</returns>
        string SendInTimeSMS(string[] mobile, string content);        
    }
}
